package com.xinlijiankang.web.dao;

import java.io.Serializable;
import java.util.List;

public interface OperateDao {
	public <T> List<T> findAll(Class<T> t );
	public <T> T findById(Class<T> t,Serializable id );
	public <T> T findByName(Class<T> t,String str ,String qStr);
	public <T> void saveOperate(T t);
	public <T> void updateOperate(T t);
	public <T> void deleteOperate(T t);
	public <T> void deleteOperate(Class<T> t,Serializable id);
}
